package com.ftg.midamall.admin.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

/**
 * 用户
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/10/26 21:18
 */
@Data
public class AdminInfo {
    private Long id;

    private String username;

    private String password;

    @ApiModelProperty("头像")
    private String icon;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("昵称")
    private String nick_name;

    @ApiModelProperty("备注信息")
    private String note;

    @ApiModelProperty("创建时间")
    private LocalDateTime create_time;

    @ApiModelProperty("最后登录时间")
    private LocalDateTime login_time;

    @ApiModelProperty("帐号启用状态：0->禁用；1->启用")
    private Integer status;

}
